package com.android.jixin.channel.bean;

import java.util.List;

/**
 * Created by fitz on 2016/12/22.
 *
 * desc     交易记录
 */

public class GetTradeRecordsResult {
    /**
     * success : true
     * code : 1
     * msg : 操作成功
     * data : {"currentPage":1,"pageNumber":1,"pageSize":20,"result":[{"amount":"-9.00","status":"","time":"2016-12-19 14:51:01","title":"提现"},{"amount":"-123.00","status":"","time":"2016-12-20 14:50:08","title":"提现"}],"totalCount":2}
     */

    private boolean success;
    private String code;
    private String msg;
    private DataBean data;

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * currentPage : 1
         * pageNumber : 1
         * pageSize : 20
         * result : [{"amount":"-9.00","status":"","time":"2016-12-19 14:51:01","title":"提现"},{"amount":"-123.00","status":"","time":"2016-12-20 14:50:08","title":"提现"}]
         * totalCount : 2
         */

        private int currentPage;
        private int pageNumber;
        private int pageSize;
        private int totalCount;
        private List<ResultBean> result;

        public int getCurrentPage() {
            return currentPage;
        }

        public void setCurrentPage(int currentPage) {
            this.currentPage = currentPage;
        }

        public int getPageNumber() {
            return pageNumber;
        }

        public void setPageNumber(int pageNumber) {
            this.pageNumber = pageNumber;
        }

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public int getTotalCount() {
            return totalCount;
        }

        public void setTotalCount(int totalCount) {
            this.totalCount = totalCount;
        }

        public List<ResultBean> getResult() {
            return result;
        }

        public void setResult(List<ResultBean> result) {
            this.result = result;
        }

        public static class ResultBean {
            /**
             * amount : -9.00
             * status :
             * time : 2016-12-19 14:51:01
             * title : 提现
             */

            private String amount;
            private String status;
            private String time;
            private String title;

            public String getAmount() {
                return amount;
            }

            public void setAmount(String amount) {
                this.amount = amount;
            }

            public String getStatus() {
                return status;
            }

            public void setStatus(String status) {
                this.status = status;
            }

            public String getTime() {
                return time;
            }

            public void setTime(String time) {
                this.time = time;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }
        }
    }
}
